<script src="https://www.google.com/jsapi"></script>
<script>
    $(document).ready(function($)
    {
        $("#month").change(function()
        {
            location.href ="stats_user?year="+$('#year option:selected').val()+"&month="+$('#month option:selected').val();
        });
    });
</script>

<div class="tales_stats_menu">
    <ui>
        <li class="tales_of_deonia"><?php echo __(LANG_TALES_OF_DEONIA)?></li>
    </ui>
</div>

<!-- 통계 메뉴 -->
<div class="tales_stats_menu">
    <ul>
        <li class="actions">
            <?php echo $this->Html->link(__('Sales'), array('action' => 'stats_user'));?>
        </li>
        <li class="actions">
            <?php echo $this->Html->link(__('Level'), array('action' => 'stats_level'));?>
        </li>
        <li class="actions">
            <?php echo $this->Html->link(__('Gem Log'), array('action' => 'stats_gem'));?>
        </li>
    </ul>
</div>

<div class="tales_stats">
    <table>
        <tr>
            <td class="no_border background_white" style="text-align: left;font-size: 13px">
                <b><?php echo('Total characters : ')?></b>
            </td>
        </tr>
        <tr>
            <td class="no_border background_white" colspan="2">
                <?php
                echo $this->GChart->start('chart');
                echo $this->GChart->visualize('chart', $static_data);
                ?>
            </td>
        </tr>
    </table>
</div>
